package com.dds.core.consts;

/**
 * Created by dds on 2020/4/19.
 * ddssingsong@163.com
 */
public class Urls {
    // 服务器IP
    //public final static String IP = "192.168.188.101:5000";
    public final static String IP = "39.99.46.172";

    // 服务端口
    public final static String PORT = "5000";

    // 服务地址
    private final static String HOST = "http://" + IP + ":" + PORT + "/";

    // 信令地址
    public final static String WS = "ws://" + IP + ":" + PORT + "/ws";

    // 获取用户列表
    public static String getUserList() {
        return HOST + "userList";
    }

    // 获取房间列表
    public static String getRoomList() {
        return HOST + "roomList";
    }
}
